package com.choudou5.solr.utils;

import com.choudou5.solr.bean.client.SolrClientAuth;
import com.choudou5.solr.service.ServiceHelper;
import com.choudou5.solr.service.client.SolrClientAuthService;

import java.util.List;

/**
 * @name Solr API 应用工具类
 * @author choudou5
 * @date 2018-08-06
 */
public class SolrClientUtil {

    private static SolrClientAuthService clientAuthService = ServiceHelper.singleton(SolrClientAuthService.class);

    public static List<SolrClientAuth> getClientList(){
        return clientAuthService.findListAll();
    }

}
